package com.ruoyi.customer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 储存商品对象 c_goods
 * 
 * @author 王梦川
 * @date 2024-10-25
 */

public class Goods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 客户ID */
    private Long cId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String name;

    /** 商品规格 */
    @Excel(name = "商品规格")
    private String specs;

    /** 商品类别 */
    @Excel(name = "商品类别")
    private Long type;

    /** 商品最大 */
    @Excel(name = "商品最大")
    private Long goodMax;

    /** 商品最小 */
    @Excel(name = "商品最小")
    private Long goodMin;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setcId(Long cId) 
    {
        this.cId = cId;
    }

    public Long getcId() 
    {
        return cId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSpecs(String specs) 
    {
        this.specs = specs;
    }

    public String getSpecs() 
    {
        return specs;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setGoodMax(Long goodMax) 
    {
        this.goodMax = goodMax;
    }

    public Long getGoodMax() 
    {
        return goodMax;
    }
    public void setGoodMin(Long goodMin) 
    {
        this.goodMin = goodMin;
    }

    public Long getGoodMin() 
    {
        return goodMin;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cId", getcId())
            .append("name", getName())
            .append("specs", getSpecs())
            .append("type", getType())
            .append("goodMax", getGoodMax())
            .append("goodMin", getGoodMin())
            .toString();
    }
}
